
export default {
    id: "SalesDetailEntity",
    returnTotal:true,
    modelFile: "sales/dataset/SalesDetailEntity.xml",
    sortFields: [
        "FGOODSNUMBER",
        "FBARCODE",
        "FDESC",
        "FSPEC",
        "FUNIT",
        "FPRICE",
        "FDISCOUNT",
        "FAMOUNT",
        "FDISCOUNTFMONEY",
        "FAPPROVALNUMBER",
        "FBRAND",
        "FUSERID",
        "FCREATEDATE",
        "FDISCOUNTPRICE",
        "FENTERPRISEDESC",
        "FENTERPRISEID",
        "FSHOPDESC",
        "FSHOPDESCID",

    ],
    fields: {

        FSOURCE: {
            name: "FSOURCE", //字段ID
            label: "来源", //字段描述
            dbtype: "dbString", //数据类型
        },
        FBARCODE: {
            name: "FBARCODE", //字段ID
            label: "条形码", //字段描述
            dbtype: "dbString", //数据类型
        },
        FGOODSNUMBER: {
            name: "FGOODSNUMBER", //字段ID
            label: "店内编码", //字段描述
            dbtype: "dbString", //数据类型
            length: 25,
        },
        FBRAND: {
            name: "FBRAND", //字段ID
            label: "品牌", //字段描述
            dbtype: "dbString", //数据类型
            length: 25,
        },
        FDESC: {
            name: "FDESC", //字段ID
            label: "通用名称", //字段描述
            dbtype: "dbString", //数据类型
            length: 25,
        },

        FUNIT: {
            name: "FUNIT", //字段ID
            label: "单位", //字段描述
            dbtype: "dbString", //数据类型
            length: 25,
        },
        FPRICE: {
            name: "FPRICE", //字段ID
            label: "零售价", //字段描述
            dbtype: "dbFloat", //数据类型

        },
        FDISCOUNT: {
            name: "FDISCOUNT", //字段ID
            label: "折扣", //字段描述
            dbtype: "dbFloat", //数据类型

        },
        FDISCOUNTPRICE: {
            name: "FDISCOUNTPRICE", //字段ID
            label: "折后单价", //字段描述
            dbtype: "dbFloat", //数据类型

        },
        FAMOUNT: {
            name: "FAMOUNT", //字段ID
            label: "数量", //字段描述
            dbtype: "dbFloat", //数据类型


        },
        FDISCOUNTFMONEY: {
            name: "FDISCOUNTFMONEY", //字段ID
            label: "折后金额", //字段描述
            dbtype: "dbFloat", //数据类型

        },


        FSPEC: {
            name: "FSPEC", //字段ID
            label: "规格", //字段描述
            dbtype: "dbString", //数据类型
        },

        FUSERID: {
            name: "FUSERID", //字段ID
            label: "收银员id", //字段描述
            dbtype: "dbString", //数据类型

        },
        FUSERDESC: {
            name: "FUSERDESC", //字段ID
            label: "收银员", //字段描述
            dbtype: "dbString", //数据类型

        },
        FCREATEDATE: {
            name: "FCREATEDATE", //字段ID
            label: "时间", //字段描述
            dbtype: "dbDate", //数据类型

        },

        FENTERPRISEDESC: {
            name: "FENTERPRISEDESC", //字段ID
            label: "企业名称", //字段描述
            dbtype: "dbString", //数据类型
        },
        FENTERPRISEID: {
            name: "FENTERPRISEID", //字段ID
            label: "企业ID", //字段描述
            dbtype: "dbString", //数据类型
        },

        FSHOPDESC: {
            name: "FSHOPDESC", //字段ID
            label: "店铺", //字段描述
            dbtype: "dbString", //数据类型

        },
        FSHOPDESCID: {
            name: "FSHOPDESCID", //字段ID
            label: "店铺编号", //字段描述
            dbtype: "dbString", //数据类型

        },



    }
}
